import { Req, type Resp } from '@/utils/request'

export function changePassword(password: {
  oldPassword: string
  confirmPassword: string
  newPassword: string
}): Promise<Resp<any>> {
  return Req.$post<any>('/user/passwd', password)
}
